From 7146dd12e59036be498b3d5777d71ec8f175136b Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Tue, 24 Jun 2008 09:55:08 +0000 Subject: [PATCH] remove includes from this internal header. 2008-06-24 Michael Natterer * gtk/gtktextutil.h: remove includes from this internal header. * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h. svn path=/trunk/; revision=20678 --- ChangeLog | 6 ++++++ gtk/gtktextutil.c | 3 ++- gtk/gtktextutil.h | 13 ++++--------- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 03ca2ae43c..12e5378863 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-06-24 Michael Natterer + + * gtk/gtktextutil.h: remove includes from this internal header. + + * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h. + 2008-06-23 Michael Natterer * gtk/gtkinvisible.h: formatting. diff --git a/gtk/gtktextutil.c b/gtk/gtktextutil.c index 32e5cb6496..0afeeb43ad 100644 --- a/gtk/gtktextutil.c +++ b/gtk/gtktextutil.c @@ -25,8 +25,9 @@ */ #include "config.h" -#include "gtktextutil.h" + #include "gtktextview.h" +#include "gtktextutil.h" #define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API diff --git a/gtk/gtktextutil.h b/gtk/gtktextutil.h index 5b3070b212..8b346520bf 100644 --- a/gtk/gtktextutil.h +++ b/gtk/gtktextutil.h @@ -21,23 +21,18 @@ * Modified by the GTK+ Team and others 1997-2001. See the AUTHORS * file for a list of people on the GTK+ Team. See the ChangeLog * files for a list of changes. These files are distributed with - * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ #ifndef __GTK_TEXT_UTIL_H__ #define __GTK_TEXT_UTIL_H__ - -#include -#include -#include -#include - - G_BEGIN_DECLS +/* This is a private uninstalled header shared between + * GtkTextView and GtkEntry + */ -/* This is a private uninstalled header shared between GtkTextView and GtkEntry */ typedef void (* GtkTextUtilCharChosenFunc) (const char *text, gpointer data); -- 2.30.2